package cn.smbms.pojo;

public class Order_detail {
	private int id;// ID 主键
	private int orderId; // 订单主键
	private int productId;// 商品主键
	private int quantity;// 数量
	private float cost;// 消费
	private String color;// 颜色
	private String size;// 大小
	private int fahuoid;// 发货 1.发货 2.未发货
	private int zhifu;// 付款 1.付款 2.未付款
	private int userid;

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	// 设置商品表的get set
	private Product products;

	public Product getProducts() {
		return products;
	}

	public void setProducts(Product products) {
		this.products = products;
	}

	private Order order;

	public Order getOrder() {
		return order;
	}

	public void setOrder(Order order) {
		this.order = order;
	}

	// get set方法
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getOrderId() {
		return orderId;
	}

	public void setOrderId(int orderId) {
		this.orderId = orderId;
	}

	public int getProductId() {
		return productId;
	}

	public void setProductId(int productId) {
		this.productId = productId;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public float getCost() {
		return cost;
	}

	public void setCost(float cost) {
		this.cost = cost;
	}

	public String getColor() {
		return color;
	}

	public void setColor(String color) {
		this.color = color;
	}

	public String getSize() {
		return size;
	}

	public void setSize(String size) {
		this.size = size;
	}

	public int getFahuoid() {
		return fahuoid;
	}

	public void setFahuoid(int fahuoid) {
		this.fahuoid = fahuoid;
	}

	public int getZhifu() {
		return zhifu;
	}

	public void setZhifu(int zhifu) {
		this.zhifu = zhifu;
	}
}
